package com.lcp.service;

import com.lcp.entity.HealthRecord;

import java.util.List;

public interface HealthRecordService {
    HealthRecord getByUserId(Long userId);

    HealthRecord create(HealthRecord healthRecord);

    HealthRecord update(HealthRecord healthRecord);

    void delete(Long id);

    List<HealthRecord> listByUserId(Long userId);

    // 添加 getById 方法
    HealthRecord getById(Long id);
}
